export interface CommonResultType<T> {
  code: string;
  data: T[];
  message: string;
}
export interface ListData<T> {
  id?: string; // 项目id
  name: string; // 项目名称
  sub: T[]; // 研发支出
}
export interface SubItem {
  id: string; // 项目id
  name: string; // 项目名称
  sub: SubItem[]; // 研发支出
}

export interface GetDetail {
  page: number;
  page_size: number;
}

export interface CommonDetailResultType<T> {
  code: string;
  data: T[];
  message: string;
  page: number;
  page_size: number;
  total: number;
}
export interface DetailListData {
  id: string;
  name: string; //科目名称
}
export interface IdList {
    id_list:string[]
}
